<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>瓜朋网Admin管理平台</title>
<link rel="stylesheet" type="text/css" href="/hdocs/admin/css/theme.css" />
<link rel="stylesheet" type="text/css" href="/hdocs/admin/css/style.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/hdocs/admin/css/ie-sucks.css" />
<![endif]-->
<script type="text/javascript" src="/hdocs/jquery/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/hdocs/admin/js/common.js"></script>
<script type="text/javascript" src="/hdocs/admin/js/admin.js"></script>
</head>
<body onload="alertMsg('$!messageCodeMap.get($!messageCode)')">
	<div id="container">
		#set ($menuIndex="topic") #parse("/admin/inc/header.html")
		<div id="wrapper">
			<div id="content">
				<form id="mainFrom" action="/admin/topic/addSubject.jsp" method="post">
					<a href="/admin/topic/subjectList.jsp" class="aar">标题列表＞＞＞</a>
					<table>
						<caption>添加标题</caption>
						<tr>
							<th width="15%">主题名称</th>
							<td width="85%"><input type="text" id="title" name="title" size="80" />
							</td>
						</tr>
						<tr>
							<th width="15%">状态</th>
							<td width="85%">
								<input type="radio" name="status" value="0" checked/>待发布&nbsp;&nbsp;
								<input type="radio" name="status" value="1"/>发布
							</td>
						</tr>
						<tr>
							<th>描述</th>
							<td><textarea id="description" name="description" rows="5" cols="80"></textarea>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<input type="button" class="bt" onclick="addSubject()" value="提交" />
								<input type="reset" class="bt" value="重置" />
								<span id="error" class="err"></span>
							</td>
						</tr>
					</table>
				</form>
			</div>
			#parse("/admin/inc/sidebar.html")
		</div>
		#parse("/admin/inc/footer.html")
	</div>
</body>
</html>

